const JWT_KEY = "@#jwt_key";

function save(jwt) {
    sessionStorage.setItem(JWT_KEY, jwt);
}

function get() {
    return sessionStorage.getItem(JWT_KEY);
}

function clear() {
    sessionStorage.removeItem(JWT_KEY);
    console.log(JWT_KEY);
}

export { save, get, clear };